import { get,post } from '../utils/request.js'

const userGet  = (params={}) => {
    return post('/health/platform/user/v1/get',params);
}
const userUpdate  = (params={}) => {
    return post('/health/platform/user/v1/update',params);
}
const userDelete  = (params={}) => {
    return post('/health/platform/user/v1/delete',params);
}
const userAdd  = (params={}) => {
    return post('/health/platform/user/v1/add',params);
}
const userPageQueryList  = (params={}) => {
    return post('/health/platform/user/v1/pageQueryList',params);
}
//修改密码
const userUpdatePassword  = (params={}) => {
    return post('/health/platform/user/v1/updatePassword',params);
}
//修改用户密码
const userUpdateUserPassword  = (params={}) => {
    return post('/health/platform/user/v1/updateUserPassword',params);
}

//修改 /platform/user/v1/updatePassword
export { 
    userGet,
    userUpdate,
    userDelete,
    userAdd,
    userPageQueryList,
    userUpdatePassword,
    userUpdateUserPassword,
}